Skip to content

Tasks panel: choose the folder a new task goes in - #59

Merged
ehonis merged 1 commit into
mainfrom
sync/private-main
Nov 16, 2026
Merged

ehonis merged 1 commit into
mainfrom
sync/private-main

Conversation

@ehonis

@ehonis ehonis commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Published from the private repository by oss-sync.

  • Tasks panel: choose the folder a new task goes in

6 files changed, 355 insertions(+), 42 deletions(-)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T21:21:59.543238Z 1da7041 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1da7041163

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/src/work/AddTask.tsx
// A folder deleted since it was chosen reads as Personal.
const base = folderFor(chosen, projects)?.id ?? null
const folderId = parsed.folderId ?? base
const typed = !!parsed.folderId && parsed.folderId !== base

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Show recognition when the typed folder matches the selected folder

When the remembered/selected folder is already Acme and the owner types Call #acme, parsed.folderId === base makes typed false. The parser still strips #acme from the saved title, but the folder chip is filtered out and the button is not tinted or labelled “from the title,” so the owner receives no indication that visible text will be removed. Treat any parsed folder hint as typed, even when it resolves to the current folder.

Useful? React with 👍 / 👎.

Comment thread docs/chat.md
from `GET /api/todos/sheet` already filed: its own filing, else the sheet's default
folder (`docs/task-sheet.md`). Deleting a folder moves its tasks up to its project,
deleting a project makes them Personal, as with its chats.
- **Adding.** The "Add a task…" line at the top ends in a folder button: any project or

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update AGENTS.md with the new add-task behavior

This documents and implements a new Tasks-panel feature, but the Tasks panel entry in the repository operating manual still omits the selectable and remembered quick-add folder behavior. Update that entry in the same change so the repository map remains accurate as explicitly required.

AGENTS.md reference: AGENTS.md:L10-L12

Useful? React with 👍 / 👎.

Comment thread web/src/work/AddTask.tsx
Comment on lines +157 to +160
requestAnimationFrame(() => {
const at = document.activeElement
if (!at || at === document.body) input.current?.focus()
})

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for a newly created folder before refocusing the task

When the owner creates a new folder from this picker, FolderPicker.make waits for createProject before calling onPick, but ComboPicker.choose closes the picker immediately without awaiting that action. This callback then refocuses the task field while its chosen value is still the previous folder, so pressing Enter promptly after creating the folder submits the task to the old folder; only later does the new folder become selected. Keep the add line pending until folder creation and onPick finish, or otherwise prevent submission during that interval.

Useful? React with 👍 / 👎.

Published from the private repository by oss-sync.

- Tasks panel: choose the folder a new task goes in

 6 files changed, 355 insertions(+), 42 deletions(-)
@ehonis
ehonis merged commit f7cb101 into main Nov 16, 2026
4 checks passed
@ehonis
ehonis deleted the sync/private-main branch November 16, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant